package com.atguigu06.polymorphism;

/**
 * ClassName: Man
 * Package: com.atguigu06.polymorphism
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/22 13:58
 * @Version 1.0
 */
public class Man extends Person {
    boolean isSmoking;

    public void eat(){
        System.out.println("干饭人，干饭魂。");
    }
    public void walk(){
        System.out.println("走不动了啊");
    }
    public void earnMoney(){
        System.out.println("挣钱找姑娘");
    }
}
